package com.alibaba.dingtalk.openapi.vo.oa;

import lombok.Getter;

import java.io.Serializable;

/**
 * 任务更新参数DTO
 *
 * @author LiZhikang
 * @date 2023/3/16 14:31
 */
@Getter
public class TaskFormDTO implements Serializable {
    private static final long serialVersionUID = 3829986622294303356L;
    /**
     * 任务Id
     */
    private Long taskId;
    /**
     * 状态(CANCELED撤销,COMPLETED完成)
     */
    private String status;
    /**
     * 结果(agree同意,refuse拒绝)
     */
    private String result;

    public TaskFormDTO(Long taskId, String status, String result) {
        this.taskId = taskId;
        this.status = status;
        this.result = result;
    }
}
